﻿<Window x:Class="ValidateAccess"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Enter Your Password" Height="110" Width="300" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Topmost="True" Icon="/Terminator;component/Resources/Icons/lock_off.ico">
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="25" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="80" />
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>        
        <TextBlock Grid.Column="0" Grid.Row="0" Text="Password:" VerticalAlignment="Center"></TextBlock>
        <PasswordBox Grid.Row="0" Grid.Column="1" Name="txtPassword" Height="21"></PasswordBox>
        <StackPanel Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0 5 0 5">
            <Button x:Name="btnOk" Width="50" Height="20" Margin="0 0 10 0">
                Ok
            </Button>
            <Button x:Name="btnCancel" Width="50" Height="20">
                Cancel
            </Button>
        </StackPanel>
    </Grid>    
</Window>
